This patch fixes return codes for the acm-related Xen management scripts
authorSteven Hand <steven@xensource.com>
Tue, 12 Sep 2006 10:09:22 +0000 (11:09 +0100)
committerSteven Hand <steven@xensource.com>
Tue, 12 Sep 2006 10:09:22 +0000 (11:09 +0100)
commitf1b7d71605255cf27677ddc85f86f9c48badc588
tree07448f9d1b18a226d2509ee4b7996c0426c2b72e
parent84ef1509a4f816997a679d0e0daccdff245abc63
This patch fixes return codes for the acm-related Xen management scripts
(error conditions) and addresses minor issues that 'pycheck' complains
about. It is tested with xm-test and by manually running the xm
commands. It also handles the return case (reported by Masaki Kanno)
that was missed in the originally patch.

Signed-off by: Reiner Sailer <sailer@us.ibm.com>
tools/python/xen/xm/addlabel.py
tools/python/xen/xm/cfgbootpolicy.py
tools/python/xen/xm/create.py
tools/python/xen/xm/dry-run.py
tools/python/xen/xm/dumppolicy.py
tools/python/xen/xm/getlabel.py
tools/python/xen/xm/labels.py
tools/python/xen/xm/loadpolicy.py
tools/python/xen/xm/makepolicy.py
tools/python/xen/xm/resources.py
tools/python/xen/xm/rmlabel.py